package cn.bs.busuo.front.hotel.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class DeleteRoomParam {
    /**
     * 房型ID
     */
    @ApiModelProperty("房型ID")
    private Long id;
    /**
     * 房间数量
     */
    @Range(min = 1,max = 1000000,message = "房间数量必须在1-1000000之间")
    @ApiModelProperty("减少房间的数量")
    Integer total;
}
